package com.nwcl.ysx.request;

import com.nwcl.common.request.BaseRequest;
import com.nwcl.common.result.Result;

/**
 * @author liguiqin
 * @date 2023/5/30
 */
public class CouponsWriteOffRequest implements BaseRequest {
    private Integer couponsReceiveId;//优惠券领取记录id
    @Override
    public Result check() {
        if(couponsReceiveId==null){
            return Result.fail("优惠券领取记录id不能为空");
        }
        return null;
    }

    public Integer getCouponsReceiveId() {
        return couponsReceiveId;
    }

    public void setCouponsReceiveId(Integer couponsReceiveId) {
        this.couponsReceiveId = couponsReceiveId;
    }
}
